Action

public final class Action extends AsyncCallbackAction<R>

An action providing a response to the ShowContextMenuCallback.

Constructors

Link copied to clipboard
public void ShowContextMenuCallback.Action(Consumer<ShowContextMenu.Response> consumer)

Functions

Link copied to clipboard
public void close()
Close the context menu without selecting any context menu item.
Link copied to clipboard
public final boolean isClosed()
Returns true if this action is closed.
Link copied to clipboard
public void select(ContextMenuItem item)
Select the item.